package com.boyaa.shells.tool.button 
{
	import flash.events.Event;
	
	/**
	 * ...按钮组的事件
	 * @author henrylee   Any question, pls contact me. henrylee_sz@qq.com.
	 */
	public class ButtonGroupEvent extends Event 
	{
		/** 点击按钮事件 */
		static public const SELECTED: String = "ButtonSelected";
		
		public var params: * ;
		
		public function ButtonGroupEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, param: * = null) 
		{ 
			super(type, bubbles, cancelable);
			if (param is Array)
				params = (param as Array).concat();
			else
				params = param;
		} 
		
		public override function clone():Event 
		{ 
			return new ButtonGroupEvent(type, bubbles, cancelable, params);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("ButtonGroupEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}